#!/usr/bin/python3
# -*- coding:utf-8 -*-
"""
logging
"""
import logging
logging.basicConfig(level=logging.INFO)


def foo(s):
    n = int(s)
    logging.info('n = %d' % n)
    return 10 / n


def main():
    try:
        foo('0')
    except Exception as e:
        print('Exception:', e)


if __name__ == "__main__":
    main()
